<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<div class="page">
	<div class="pageContent">
		<form method="post" action="${BaseURL}labour/saveEditEmpCertReg"
			class="pageForm required-validate"
			onsubmit="return validateCallback(this,dialogAjaxDone)">
			<div class="pageFormContent" layoutH="58">
				<input name="ID" type="hidden" value="${certreg.ID}" />
				<p>
					<label>员工编号：</label> <input name="EMP_ID" type="text" size="30"
						value="${EMP_ID}" readonly="readonly" />
				</p>
				<p>
					<label>证件类型：</label> <select id="CERTTYPE" name="CERTTYPE"
						class=" combox"><option value="">请选择...</option>
						<c:forEach var="item" items="${CERTTYPE}">
							<option value="${item.codeValue}"
							<c:if test="${item.codeValue == certreg.CERTTYPE}">
								selected="selected"
							</c:if>>${item.codeDesc}</option>
						</c:forEach>
					</select>
				</p>
				<p>
					<label>证书专业1：</label> <select name="CERTMAJOR1" class="combox"><option
							value="">请选择...</option>
						<c:forEach var="item" items="${CERTMAJOR}">
							<option value="${item.codeValue}"
							<c:if test="${item.codeValue == certreg.CERTMAJOR1}">
								selected="selected"
							</c:if>>${item.codeDesc}</option>
						</c:forEach>
					</select>
				</p>
				<p>
					<label>证书专业2：</label> <select name="CERTMAJOR2" class="combox"><option
							value="">请选择...</option>
						<c:forEach var="item" items="${CERTMAJOR}">
							<option value="${item.codeValue}"
							<c:if test="${item.codeValue == certreg.CERTMAJOR2}">
								selected="selected"
							</c:if>>${item.codeDesc}</option>
						</c:forEach>
					</select>
				</p>
				<p>
					<label>证书专业3：</label> <select name="CERTMAJOR3" class="combox"><option
							value="">请选择...</option>
						<c:forEach var="item" items="${CERTMAJOR}">
							<option value="${item.codeValue}"
							<c:if test="${item.codeValue == certreg.CERTMAJOR3}">
								selected="selected"
							</c:if>>${item.codeDesc}</option>
						</c:forEach>
					</select>
				</p>
				<p>
					<label>证书有效期：</label> <input type="text" name="CERTVALIDDATE" value="${certreg.CERTVALIDDATE}"
						id="CERTVALIDDATE" class="date " size="30" yearstart="-80"
						yearend="20" /><a class="inputDateButton" href="javascript:;">选择</a>
				</p>
				<p>
					<label>备注：</label> <input type="text" size="30" name="MEMO"  value="${certreg.MEMO}"
						maxlength="200" />
				</p>				
			</div>
			<div class="formBar">
				<ul>
					<!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
					<li><div class="buttonActive">
							<div class="buttonContent">
								<button type="submit" class="cloase">保存</button>
							</div>
						</div></li>
					<li>
						<div class="button">
							<div class="buttonContent">
								<button type="button" class="close">取消</button>
							</div>
						</div>
					</li>
				</ul>
			</div>
		</form>
	</div>
</div>